Skip to content

Conversation

rnro
Copy link
Collaborator

@rnro rnro commented Nov 5, 2024

Motivation:

  • Reduce duplication
  • Centralise boilerplate changes when new Swift versions are picked up.
  • Benefit from centralised work to add new linting / test infrastructure.

Modifications:

Changes of note:

  • Use soundness checks from swiftlang/github-workflows.
  • Define a gRPC-specific soundness check which retains bespoke license-checking code for .swift files as the gRPC header style is very different to most templates and checks that generated code is up-to-date.

Result:

More test, linting, formatting coverage. More common CI with other Swift on Server projects.

@rnro rnro added the 🆕 semver/minor Adds new public API. label Nov 5, 2024
@rnro rnro requested a review from glbrntt November 5, 2024 15:34
@rnro rnro force-pushed the adopt_standardized_github_actions branch 2 times, most recently from 3f145d1 to 1dcf6af Compare November 5, 2024 15:52
Copy link
Collaborator

@glbrntt glbrntt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @rnro -- couple of small things to fix beyond what we already discussed.

@@ -1,4 +1,4 @@
// Copyright 2015 gRPC authors.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure what's happened here, but this is meant to be a symlink from Examples/hello-world/Protos/HelloWorld.proto to dev/protos/upstream/grpc/examples/helloworld.proto. Could you fix it?

@rnro rnro force-pushed the adopt_standardized_github_actions branch 3 times, most recently from 412a7bf to c105ec9 Compare November 5, 2024 16:53
@rnro rnro requested a review from glbrntt November 5, 2024 16:53
@rnro rnro force-pushed the adopt_standardized_github_actions branch 3 times, most recently from a32ccaf to 6bfd485 Compare November 5, 2024 17:03
Copy link
Collaborator

@glbrntt glbrntt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're missing the integration tests script but this looks good otherwise

@rnro rnro force-pushed the adopt_standardized_github_actions branch 2 times, most recently from 5ffed88 to 09f2243 Compare November 6, 2024 16:27
Motivation:

* Reduce duplication
* Centralise boilerplate changes when new Swift versions are picked up.
* Benefit from centralised work to add new linting / test
  infrastructure.

Modifications:

Changes of note:
* Use soundness checks from swiftlang/github-workflows.
* Define a gRPC-specific soundness check which retains bespoke license-checking
code for .swift files as the gRPC header style is very different to most templates
and checks that generated code is up-to-date.

Result:

More test, linting, formatting coverage. More common CI with other Swift
on Server projects.
@rnro rnro force-pushed the adopt_standardized_github_actions branch from 09f2243 to 4608314 Compare November 6, 2024 16:34
@rnro rnro requested a review from glbrntt November 7, 2024 08:36
Copy link
Collaborator

@glbrntt glbrntt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fab, thanks @rnro!

@glbrntt glbrntt merged commit 07e38e9 into main Nov 7, 2024
41 of 45 checks passed
@glbrntt glbrntt deleted the adopt_standardized_github_actions branch November 7, 2024 12:07
@rnro rnro mentioned this pull request Sep 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🆕 semver/minor Adds new public API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants